<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>2022 | Sunshine</title><meta name="author" content="undark"><meta name="copyright" content="undark"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website">
<meta property="og:title" content="2022">
<meta property="og:url" content="https://undark.gitee.io/archives/2022/index.html">
<meta property="og:site_name" content="Sunshine">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://undark.gitee.io/medias/avatar/avatar1.jpg">
<meta property="article:author" content="undark">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://undark.gitee.io/medias/avatar/avatar1.jpg"><link rel="shortcut icon" href="../../medias/logo.png"><link rel="canonical" href="https://undark.gitee.io/archives/2022/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="../../css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '2022',
  isPost: false,
  isHome: false,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2022-07-22 15:57:58'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.2.0"></head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="../medias/avatar/avatar1.jpg" onerror="onerror=null;src='/medias/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="../archives/"><div class="headline">文章</div><div class="length-num">23</div></a><a href="../tags/"><div class="headline">标签</div><div class="length-num">10</div></a><a href="../categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="../index.html"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="../archives"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="../tags"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="../categories"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="../link"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="../about"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="not-home-page" id="page-header" style="background-image: url('../../medias/banner/3.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="../index.html">Sunshine</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="../index.html"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="../archives"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="../tags"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="../categories"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="../link"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="../about"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="page-site-info"><h1 id="site-title">2022</h1></div></header><main class="layout hide-aside" id="content-inner"><div id="archive"><div class="article-sort-title">文章总览 - 23</div><div class="article-sort"><div class="article-sort-item year">2022</div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/f3450dab.html" title="白板推导-L04"><img src="../../posts/f3450dab.htmlundefined" alt="白板推导-L04" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-07-09T00:21:03.000Z" title="发表于 2022-07-09 08:21:03">2022-07-09</time></div><a class="article-sort-item-title" href="../../posts/f3450dab.html" title="白板推导-L04">白板推导-L04</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/4a17b156.html" title="Hello World"><img src="../../posts/4a17b156.htmlundefined" alt="Hello World" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-07-07T09:27:19.096Z" title="发表于 2022-07-07 17:27:19">2022-07-07</time></div><a class="article-sort-item-title" href="../../posts/4a17b156.html" title="Hello World">Hello World</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/6d219808.html" title="白板推导-L03"><img src="../../posts/6d219808.htmlundefined" alt="白板推导-L03" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-06-28T09:41:18.000Z" title="发表于 2022-06-28 17:41:18">2022-06-28</time></div><a class="article-sort-item-title" href="../../posts/6d219808.html" title="白板推导-L03">白板推导-L03</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/eb31d486.html" title="RM视觉自瞄代码上手文档"><img src="../../posts/eb31d486.htmlundefined" alt="RM视觉自瞄代码上手文档" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-06-28T09:35:08.000Z" title="发表于 2022-06-28 17:35:08">2022-06-28</time></div><a class="article-sort-item-title" href="../../posts/eb31d486.html" title="RM视觉自瞄代码上手文档">RM视觉自瞄代码上手文档</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/94101b71.html" title="阿凡的公众号"><img src="../../posts/94101b71.htmlundefined" alt="阿凡的公众号" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-06-03T03:22:10.000Z" title="发表于 2022-06-03 11:22:10">2022-06-03</time></div><a class="article-sort-item-title" href="../../posts/94101b71.html" title="阿凡的公众号">阿凡的公众号</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/be6229dc.html" title="pyinstaller 处理 opencv-python和 mediapipe时遇到的问题"><img src="../../posts/be6229dc.htmlundefined" alt="pyinstaller 处理 opencv-python和 mediapipe时遇到的问题" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-06-03T03:21:00.000Z" title="发表于 2022-06-03 11:21:00">2022-06-03</time></div><a class="article-sort-item-title" href="../../posts/be6229dc.html" title="pyinstaller 处理 opencv-python和 mediapipe时遇到的问题">pyinstaller 处理 opencv-python和 mediapipe时遇到的问题</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/c039fc0c.html" title="numpy中axis的理解"><img src="../../posts/c039fc0c.htmlundefined" alt="numpy中axis的理解" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-30T05:50:33.000Z" title="发表于 2022-05-30 13:50:33">2022-05-30</time></div><a class="article-sort-item-title" href="../../posts/c039fc0c.html" title="numpy中axis的理解">numpy中axis的理解</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/d57356d.html" title="RNN和LSTM的Batch_first参数"><img src="../../posts/d57356d.htmlundefined" alt="RNN和LSTM的Batch_first参数" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-29T02:37:52.000Z" title="发表于 2022-05-29 10:37:52">2022-05-29</time></div><a class="article-sort-item-title" href="../../posts/d57356d.html" title="RNN和LSTM的Batch_first参数">RNN和LSTM的Batch_first参数</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/f3a14c3d.html" title="python_trick"><img src="../../posts/f3a14c3d.htmlundefined" alt="python_trick" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-27T10:06:06.000Z" title="发表于 2022-05-27 18:06:06">2022-05-27</time></div><a class="article-sort-item-title" href="../../posts/f3a14c3d.html" title="python_trick">python_trick</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/48c60d0d.html" title="LSTM"><img src="../../posts/48c60d0d.htmlundefined" alt="LSTM" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-27T02:23:45.000Z" title="发表于 2022-05-27 10:23:45">2022-05-27</time></div><a class="article-sort-item-title" href="../../posts/48c60d0d.html" title="LSTM">LSTM</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/494a92d1.html" title="神奇网站"><img src="../../posts/494a92d1.htmlundefined" alt="神奇网站" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-26T15:01:04.000Z" title="发表于 2022-05-26 23:01:04">2022-05-26</time></div><a class="article-sort-item-title" href="../../posts/494a92d1.html" title="神奇网站">神奇网站</a></div></div><div class="article-sort-item"><a class="article-sort-item-img" href="../../posts/b3f2fe34.html" title="Knowledge Graphs"><img src="../../posts/b3f2fe34.htmlundefined" alt="Knowledge Graphs" onerror="this.onerror=null;this.src='../../medias/404.jpg'"></a><div class="article-sort-item-info"><div class="article-sort-item-time"><i class="far fa-calendar-alt"></i><time class="post-meta-date-created" datetime="2022-05-26T12:47:53.000Z" title="发表于 2022-05-26 20:47:53">2022-05-26</time></div><a class="article-sort-item-title" href="../../posts/b3f2fe34.html" title="Knowledge Graphs">Knowledge Graphs</a></div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="page/2/">2</a><a class="extend next" rel="next" href="page/2/"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2022 By undark</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">无关青云路，无关诗书；无你处，无江湖。</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="../../js/utils.js"></script><script src="../../js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="../../js/search/local-search.js"></script><div class="js-pjax"><script>(() => {
  const $mermaidWrap = document.querySelectorAll('#article-container .mermaid-wrap')
  if ($mermaidWrap.length) {
    window.runMermaid = () => {
      window.loadMermaid = true
      const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'

      Array.from($mermaidWrap).forEach((item, index) => {
        const mermaidSrc = item.firstElementChild
        const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n'
        const mermaidID = 'mermaid-' + index
        const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
        mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => {
          mermaidSrc.insertAdjacentHTML('afterend', svgCode)
        })
      })
    }

    const loadMermaid = () => {
      window.loadMermaid ? runMermaid() : getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid)
    }

    window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
  }
})()</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>